package com.xinbochuang.machine.admin.service.impl;

import com.xinbochuang.machine.admin.mapper.StaticMapper;
import com.xinbochuang.machine.admin.service.StaticService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class StaticServiceImpl implements StaticService {
    @Resource
    private StaticMapper staticMapper;

    @Override
    public List<Map> getScrapfData(String equName) {
        return staticMapper.getBfData(equName);
    }

    @Override
    public List<Map> getMakeOldData(String equName) {
        return staticMapper.getLJData(equName);
    }

    @Override
    public List<Map> getAlarmData(String equName) {
        return staticMapper.getAlarmData(equName);
    }

    @Override
    public List<Map> getConstructionData(String equName) {
        return staticMapper.getConstructionData(equName);
    }

    @Override
    public List<Map> getInoutData(String equName) {
        return staticMapper.getInoutData(equName);
    }

    @Override
    public List<Map> getUserData(String equName) {
        return staticMapper.getUserData(equName);
    }

    @Override
    public List<Map> getResource(String equName) {
        return staticMapper.getResource(equName);
    }
}
